package com.wei.service_oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author wjx
 * @ClassName OssApplication
 * @description: TODO
 * @date 2022-11-28 16:50
 * @version: 1.0
 */
@ComponentScan("com.wei") //默认扫当前项目，因为swagger在另一个模块，改规则使spring到com.wei包下扫
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class OssApplication {

    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class, args);
    }
}
